package com.piggy.im.domain.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * @author woodev
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("短信消息")
public class SmsMessage extends BaseMessage {

    @ApiModelProperty("模板编号")
    private String templateCode;
    @ApiModelProperty("模板参数")
    private Map<String, String> paramMap;
    /**
     * 示例值：
     * ["1590000****","1350000****"]
     */
    @ApiModelProperty("批量手机号")
    private List<String> phoneNumbers;
}
